home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / chat / ircii-2.8he / ircii-2 / help / SET / INPUT_ALIASES < prev    next >
Encoding:
Text File  |  1993-05-04  |  1.2 KB  |  28 lines

  1. Usage: SET INPUT_ALIASES [ON|OFF|TOGGLE]
  2.   Turns ON or OFF the expanding of aliases in the inputline, 
  3.   If you set INPUT_ALIASES ON and type: ECHO $S
  4.   you will see your server name echoed to your window.  If it is
  5.   OFF, you will see $S echoed to your window. INPUT_ALIASES now 
  6.   has no effect on expansions in the .ircrc and loaded files.  To 
  7.   Make a line expand when a file is loaded, use EVAL <command>.
  8.  
  9.   Note also, that when INPUT_ALIASES is ON, text within (..) and {..}
  10.   are not expanded.  If you want them to be expanded then quote the 
  11.   leading ( or {.  e.g.   \(  \{ 
  12.  
  13.   Additionally, You can return to full alias substitution
  14.   within ${...} by enclosing the substitution text in
  15.   [...]. Thus  if $0 == test, and $bear == black
  16.           ${[$0]} expands to "test"
  17.           ${[$bear]} expands to "black"
  18.           ${bear} also expands to "black"
  19.           ${ bear == [black] }  expands to "1",
  20.           ${ [$0] == [test] } expands to "1"
  21.           ${ [$0] == [black] } expands to "0"
  22.           ${ [$0](this) } expands to the return value of $test(this)
  23.   
  24. Note:
  25.   If you do turn on INPUT_ALIASES in the .ircrc then the argument
  26.   expandos ($*, $0, $1, $3-4, etc) will expand to the command line 
  27.   arguments passed to IRCII on startup.
  28.